<?php

class Application_Form_Searchboot extends Zend_Form
{

    public function init()
    {
        /* Form Elements & Other Definitions Here ... */
    	$this->setName("boot");
    	$this->setMethod('post');
    	 
    	$schiffsart = new Zend_Form_Element_Text('schiffsart');
    	$schiffsart->setLabel('Schiffsart:')
    	->setOptions(array('id' => 'fname'));
    	 
    	$schiffsmodell = new Zend_Form_Element_Text('schiffsmodell');
    	$schiffsmodell->setLabel('Schiffsmodell:')
    	->setOptions(array('id' => 'fname'));
    	 
    	$breite = new Zend_Form_Element_Text('breite');
    	$breite->setLabel('Breite:')
    	->setOptions(array('id' => 'fname'))
    	->addValidator('Alnum', true);
    	 
    	$laenge = new Zend_Form_Element_Text('laenge');
    	$laenge->setLabel('Laenge:')
    	->setOptions(array('id' => 'fname'))
    	->addValidator('Alnum', true);
    	 
    	$hoehe = new Zend_Form_Element_Text('hoehe');
    	$hoehe->setLabel('Hoehe:')
    	->setOptions(array('id' => 'fname'))
    	->addValidator('Alnum', true);
    	 
    	$rumpf = new Zend_Form_Element_Text('rumpf');
    	$rumpf->setLabel('Rumpf:')
    	->setOptions(array('id' => 'fname'))
    	->addValidator('Alnum', true);
    	 
    	$kabinenanzahl = new Zend_Form_Element_Text('kabinenanzahl');
    	$kabinenanzahl->setLabel('Kabinenanzahl:')
    	->setOptions(array('id' => 'fname'))
    	->addValidator('Int', true);
    	/*
    	 $portfoliobild = new Zend_Form_Element_Text('portfoliobild');
    	$portfoliobild->setLabel('Protfoliobild:')
    	->setOptions(array('id' => 'fname'))
    	->setRequired(true);
    	*/
    	 
    	$submit = new Zend_Form_Element_Submit('submit');
    	$submit->setLabel('Abschicken')
    	->setOptions(array('class' => 'submit'));
    	 
    	$this
    	->addElement($schiffsart)
    	->addElement($schiffsmodell)
    	->addElement($breite)
    	->addElement($laenge)
    	->addElement($hoehe)
    	->addElement($rumpf)
    	->addElement($kabinenanzahl)
    	//     		->addElement($profilbild)
    	->addElement($submit);
    }


}

